package fun.configuration;

import java.awt.Color;
import java.awt.Font;

import org.lex.app.prefs.ResourceMap;
import org.lex.utils.Codec;


public class DefaultConfiguration {
	static Font DEFAULT_FONT = new Font(Font.DIALOG, Font.PLAIN, 12);

	private DefaultConfiguration() {
	}

	public static void loadDefaultConfiguration(ResourceMap cfg) {
		cfg.clear();
		Config.setRectangle(CK.UI_MAIN_WINDOW_BOUNDS, 0, 0, 600, 500);
		Config.setRectangle(CK.UI_COMMAND_WINDOW_BOUNDS, 0, 0, 200, 200);
		Config.setRectangle(CK.UI_LOG_WINDOW_BOUNDS, 0, 0, 200, 200);
		Config.setRectangle(CK.UI_RESULT_WINDOW_BOUNDS, 0, 0, 200, 200);
		Config.setRectangle(CK.UI_SYMBOL_TABLE_WINDOW_BOUNDS, 0, 0, 200, 200);
		// =====================================================================
		cfg.putString(CK.UI_FUNCTION_BACK_COLOR, Codec.encodeColor(Color.white));
		cfg.putString(CK.UI_FUNCTION_FORE_COLOR, Codec.encodeColor(Color.black));
		cfg.putString(CK.UI_FUNCTION_COORDINATES_COLOR, Codec.encodeColor(new Color(255, 189, 156)));
	}
}
